package com.itheima.d4_synchronized;

public class TreadTest {
    public static void main(String[] args) {
        Account acc =new Account("ICBC-11",100000);

        new DrawThread(acc,"谢睿妍").start();
        new DrawThread(acc,"杨斌").start();

        Account acc1 =new Account("ICBC-12",100000);

        new DrawThread(acc1,"谢小妍").start();
        new DrawThread(acc1,"杨大斌").start();

    }
}
